<template>
    <div>
        <button @click="clearwx">清除WXconfig</button>
        <button @click="clearlogin">清除登录</button>

        <button @click="towxlogin">手动登录</button>
    </div>
</template>
<script>
import {_getWxLogin,_WeChatLogin,_getjsapiticket} from '../../service/wxService.js'
export default {
    data(){
        return{

        }
    },
    methods:{
        towxlogin(){
            _getWxLogin()
        },
        clearwx(){
            localStorage.removeItem("WXjsapi_ticket")
        },
        clearlogin(){
            localStorage.removeItem("user")
        }
    }
}
</script>